package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.create.JzdxResumeCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.JzdxResumeQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxResumeResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxResumeUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxResumeEntity;

import java.util.List;


public interface JzdxResumeService extends IService<JzdxResumeEntity> {

    PageInfo<JzdxResumeResultDTO> pageList(Params page, JzdxResumeQueryDTO dto);

    List<JzdxResumeResultDTO> findList(JzdxResumeQueryDTO dto);

    Boolean create(JzdxResumeCreateDTO dto);

    Boolean update(JzdxResumeUpdateDTO dto);

    JzdxResumeResultDTO getById(Long id);

    void createBatch(String code, List<JzdxResumeEntity> resumeEntityList);

    Boolean updateBatch(String code, List<JzdxResumeEntity> resumeEntityList);

    List<JzdxResumeEntity> findByCode(String code);
}